package com.tuanzhang.zhw.rpc.spring.annotaion;

import com.tuanzhang.zhw.rpc.spring.RpcClassPathScannerRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * rpc 目录扫描
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Import(RpcClassPathScannerRegistrar.class)
@Documented
public @interface RpcScan {
    String[] basePackage();
}
